package com.drcoffee.drcoffeemall.component;


import com.drcoffee.drcoffeemall.service.UserService;
import com.drcoffee.drcoffeemall.service.impl.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;

public class test {
    @Autowired
    RedisTemplate<String, Object> redisTemplate;

    @Autowired
    UserService userService;

    public  RedisTemplate<String, Object> getRedisTemplate(){
        return  new RedisTemplate<String, Object>();
    }
//    public  UserService getUserService(){
////        return  new UserServiceImpl().verifyToken();
//    }
}
